﻿using System;

namespace OpenLS.Spreadsheet
{
    class DataValidationException: ApplicationException
    {
        private readonly Cell _target;
        private readonly DataValidation _dataValidation;

        public DataValidationException(Cell target, DataValidation dataValidation)
        {
            _target = target;
            _dataValidation = dataValidation;
        }

        public DataValidation DataValidation
        {
            get { return _dataValidation; }
        }
    }
}